.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    /* 为图片间添加间隔 */
}

.image-container {
    position: relative;
    width: 200px;
    /* 设置容器的宽度 */
    margin: 10px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.img1 {
    width: 100%;
    /* 使图片宽度填满容器 */
    height: auto;
    /* 保持图片的宽高比 */
    transition: transform 0.5s ease;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.img1:hover {
    transform: scale(1.5);
    z-index: 10;
    cursor: pointer;
}